﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="news_viewstat_list.aspx.cs" Inherits="Ccit.OA.NewsCenter.news_viewstat_list" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v8.1" Namespace="DevExpress.Web.ASPxGridView"
    TagPrefix="dxwgv" %>
    
<%@ Register TagPrefix="ccit" Namespace="Ccit.ServerControls" Assembly="Ccit.ServerControls.ActionForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>信息中心-信息浏览人数</title>
</head>
<body>
    <ccit:ActionForm id="form1" runat="server">
        <input type="hidden" id="hdNewsId" runat="server" />
        <table border="0" cellpadding="0" cellspacing="0" class="tbToolbar" align="center" width="98%">
            <tr>
                <td><div class="tbSeparator"></div></td>
                <td class="titlebar" style="width:20%">
                    <nobr>信息中心-信息浏览人数</nobr>
                </td>
                <td style="width:80%" align="right">
                    <nobr>
                        阅读人
                        <input type="text" id="txtReader" runat="server" class="input" style="width:150px" />
                    </nobr>
                </td>
                <td><div class="tbSeparator"></div></td>
                <td>
                    <nobr>
                        <asp:LinkButton ID="lnkSearch" CssClass="linktext" runat="server" 
                        onclick="lnkSearch_Click"><img alt="" src="../images/toolbar/search.gif" />查询</asp:LinkButton>
                    </nobr>
                </td>                
                <td><div class="tbSeparatorEnd"></div></td>
            </tr>
        </table>
        <table border="0" cellpadding="0" cellspacing="0" align="center" width="98%" class="tableborder">
            <tr>
                <td class="pformright" align="center" style="width:100%">
                    <nobr>
                        信息标题：<asp:Label ID="lblTitleName" runat="server"></asp:Label>
                    </nobr>
                </td>
            </tr>
            <tr>
                <td style="width:100%">
                    <dxwgv:ASPxGridView ID="gvReaderList" Width="100%" align="center" runat="server">
                        <SettingsPager AlwaysShowPager="True" PageSize="15">
                            <FirstPageButton Visible="True">
                            </FirstPageButton>
                            <LastPageButton Visible="True">
                            </LastPageButton>
                        </SettingsPager>
                        <Styles>
                            <Row CssClass=""></Row>
                            <AlternatingRow  CssClass="" Enabled="true"/>
                            <SelectedRow  CssClass=""></SelectedRow>
                        </Styles>
                        <Columns>
                            <dxwgv:GridViewDataTextColumn Caption="阅读人" FieldName="UserName" VisibleIndex="0" Width="20%">
                                <HeaderStyle HorizontalAlign="Center" />
                                <CellStyle HorizontalAlign="Center"></CellStyle>
                            </dxwgv:GridViewDataTextColumn>
                            <dxwgv:GridViewDataTextColumn Caption="所属部门" FieldName="DeptName" VisibleIndex="1" Width="20%">
                                <HeaderStyle HorizontalAlign="Center" />
                                <CellStyle HorizontalAlign="Center"></CellStyle>
                            </dxwgv:GridViewDataTextColumn>
                            <dxwgv:GridViewDataTextColumn Caption="首次阅读时间" FieldName="BeginDate" VisibleIndex="2" Width="30%">
                                <HeaderStyle HorizontalAlign="Center" />
                                <CellStyle HorizontalAlign="Center"></CellStyle>
                            </dxwgv:GridViewDataTextColumn>
                            <dxwgv:GridViewDataTextColumn Caption="最近阅读时间" FieldName="EndDate" VisibleIndex="3" Width="30%">
                                <HeaderStyle HorizontalAlign="Center" />
                                <CellStyle HorizontalAlign="Center"></CellStyle>
                            </dxwgv:GridViewDataTextColumn>
                        </Columns>
                    </dxwgv:ASPxGridView>
                </td>
            </tr>
        </table>
    </ccit:ActionForm>
</body>
</html>
